package com.example.demo.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.demo.mapper.*;
import com.example.demo.pojo.*;

@RestController
public class LendController {
	 @Autowired
	    LendMapper lendMapper;
	 //查询借阅[xx]的读者信息
	 @GetMapping("findLendResdersResultMap")
	    public  List<Readers> findLendResdersResultMap(){
	        return lendMapper.findLendResdersResultMap();
	    }
}
